package com.zy.explore.wechat.frm;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

/**
 * description 通用ID参数对象(String)
 *
 * @author ZY
 * @date 2021年05月14日 23:24
 */
@ApiModel("通用ID查询操作DTO")
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class CommonStringIdFrm {

    @ApiModelProperty(value = "主键ID", required = true)
    @NotBlank(message = "ID不能为空")
    private String id;

}
